home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
PVDRIVER
/
CELSIUS.ZIP
/
INSTALL.DAT
< prev
next >
Wrap
Text File
|
1993-10-13
|
34KB
|
1,261 lines
/*--------------------------------------------------------------------------
File Name: install.dat
History: Robert Gilsdorf (April 02, 1993) File created
Description: This is a script file that automates the installation process
of the Celsius VLB display drivers.
--------------------------------------------------------------------------*/
@DefineProject
@Name = "Celsius VLB"
@Version = "1.3"
@Immediate = 1
@Subdir = "\\"
@OutDrive = C
@AssumeHardDisk = 1
@EndProject
/*---------------------------- Define String -----------------------------*/
@DefineVars
@Qstring @msgDDI = "Display Driver Installation"
@Qstring @msgDrive = "Please Select Destination Drive:"
@Qstring @msgDir = "Please Enter a Directory name or select ENTER to accept default."
@Qstring @msgPSAV = "Please Select Version:"
@Qstring @msgPSAA = "Please Select An Application:"
@Qstring @msgPSAO = "Please Select an Option:"
@Qstring @msgDDNE = "does not exist."
@Qstring @msgCont = "If you choose to continue, one will be created."
@Qstring @msgNoFile = "Some files are missing in your input directory:"
@Qstring @msgNPI = "may not be properly installed."
@Qstring @Reenter = " Enter Again"
@Qstring @Cont = " Continue "
@Qstring @NameWin = "Microsoft Windows"
@Qstring @NameCADsys = "Computer Aided Design"
@Qstring @NameACAD = "AutoCAD"
@Qstring @NameCADKey = "CADKey"
@Qstring @NameDataCAD = "DataCAD"
@Qstring @NameMicroCAD = "MicroStation"
@Qstring @NameVersaCAD = "VersaCAD"
@Qstring @NamePCAD = "PCAD"
@Qstring @NameWP = "WordPerfect"
@Qstring @NameUtil = "Orchid VESA Driver"
@Qstring @NameMore = "More...."
@Qstring @NameOtherp = "Other Orchid Products"
@Qstring @NameTchsupt = "Technical Support"
@EndVars
/*--------------------- Introduction Message -----------------------------*/
@Display
@If (@CheckCard ("C000", "0063", "CELSIUS VLB") == 1)
Goto MenuJump
@Else
@Cls
█████████████████ ERROR ████████████████
█ █
█ An Orchid Celsius video adapter █
█ is not detected in your system. █
█ █
█ If you choose to continue this █
█ installation, the driver will not █
█ respond correctly. █
█ █
█ PRESS F3 TO ABORT INSTALLATION █
█ █
█ █
█ █
████████████████████████████████████████
@Pause
@Endif
MenuJump:
@cls
Orchid Celsius VLB Video Adapter
Display Driver Installation Program
Disk Release 1.3
@Pause
@Cls
@Endif
@EndDisplay
/*--------------------- Drive C: check for Installation-----------------*/
@If ("@Indrive"=="C")
@Display
The Install Program must be run from a Floppy Drive. Please use the
<ESC> key and start over from the Floppy drive.
@Pause
@Abort
@EndDisplay
@EndIf
/*---------------------- Installation Main Menu --------------------------*/
MenuMain:
@FlushOptions
@EnableF1(1)
@GetOption
@Cls
@Option 1000 = "@NameWin"
@Option 2000 = "@NameCADsys"
@Option 5000 = "@NameWP"
@Option 6000 = "@NameUtil"
@Option 7000 = "@NameMore"
@EndOption
@If (@Esc)
@Exit
@Elseif (@KeyF1)
@Goto MenuMainHelp
@ElseIf (1000 [= @Option)
@Goto MenuWin
@ElseIf (2000 [= @Option)
@Goto MenuCADsys
@ElseIf (5000 [= @Option)
@Goto MenuWordProcess
@ElseIf (6000 [= @Option)
@Goto MenuUtil
@ElseIf (7000 [= @Option)
@Goto MenuInfo
@Else
@Goto MenuMain
@Endif
/*--------------------- Handle Information Menu ----------------------------*/
MenuInfo:
@ClearOption(7040)
@ClearOption(7045)
@ClearOption(7050)
@EnableF1(0)
@GetOption
@Cls
@Option 7040 = "@NameOtherp"
@Option 7045 = "Other Orchid Video Products"
@Option 7050 = "@NameTchsupt"
@EndOption
@If (@Esc)
@Goto MenuMain
@ElseIf (7040 [=@Option)
@Help ("@ExePath\\install.hlp", "HelpOtherp", "EndOtherp")
@ElseIf (7045 [=@Option)
@Help ("@ExePath\\install.hlp", "HelpFah", "EndFah")
@ElseIf (7050 [=@Option)
@Help ("@ExePath\\install.hlp", "HelpTchsupt", "EndTchsupt")
@endif
@Goto MenuInfo
/*--------------------- Handle Help Menu ----------------------------*/
MenuMainHelp:
@If (1000 [= @Option) /* Windows */
@Help ("@ExePath\\install.hlp", "HelpWin", "EndWin")
@Elseif (2000 [= @Option) /* CAD's */
@Help ("@ExePath\\install.hlp", "HelpCADMain", "EndCADMain")
@Elseif (5000 [= @Option) /* Word Process */
@Help ("@ExePath\\install.hlp", "HelpWP", "EndWP")
@Elseif (6000 [= @Option) /* Utility */
@Help ("@ExePath\\install.hlp", "HelpUtil", "EndUtil")
@Elseif (7000 [= @Option) /* More.... */
@Help ("@ExePath\\install.hlp", "HelpMore", "EndMore")
@EndIf
@Goto MenuMain
/*---------------- Windows 3.x Driver Installation (1000) -----------------*/
MenuWin:
@ClearOption (1010)
@ClearOption (1020)
@EnableF1(1)
@GetOption @Cls
@NameWin @msgDDI
@msgPSAO
@Option 1010 = "Microsoft Windows Standard Installation"
@Option 1020 = "Microsoft Windows Network Server Installation"
@EndOption
@If (@Esc)
@Goto MenuMain
@ElseIf (@KeyF1)
@Help ("@ExePath\\install.hlp", "HelpWin", "EndWin")
@Goto MenuWin
@Endif
MenuWindow:
@EnableF1(0)
@GetOutDrive
@Suppress A
@Suppress B
@Cls
@NameWin @msgDDI
@msgDrive
@EndOutDrive
@If (@Esc) @Goto MenuWin @EndIf
@GetSubdir
@Default = "\\WINDOWS"
@Cls
@NameWin @msgDDI
@msgDir
@EndSubdir
@If (@Esc) @Goto MenuWindow @EndIf
@ClearOption(1)
@ClearOption(2)
@EnableF1(0)
@GetOption
@LocalWindow (10,39)
@If (@Exists "@OutDrive:\\@SubDir" == 0)
@Cls
@NameWin @msgDDI
@OutDrive:@SubDir @msgDDNE
@msgCont
@ElseIf (1020 [= @Option)
@Goto MenuCopyFileWin
@ElseIf ((@Exists "@OutDrive:\\@SubDir\\winver.exe" == 0) ||
(@Exists "@OutDrive:\\@SubDir\\win.ini" == 0))
@Cls
@NameWin @msgDDI
@msgNoFile
@OutDrive:@SubDir
@NameWin @msgNPI
@Else
@Goto MenuCopyFileWin
@EndIf
@Option 1 = "@Reenter"
@Option 2 = "@Cont"
@EndOption
@If ((@Esc) || (1 [= @Option))
@Goto MenuWindow
@Endif
MenuCopyFileWin:
@DefineDisk
@Label = "Disk #1"
@BeginLib CELSIUS.001
@If (@Spawn ("@StartupDrive:\\dacchk.exe") == 0) /* AT&T DAC 110MHz */
@F X31KHZ.CRT @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F X35KHZ.CRT @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F X48KHZ.CRT @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F X56KHZ.CRT @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F X64KHZ.CRT @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F xcel1.CRT @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F CELSET1.HLP @O @OutDrive:\@SubDir\SYSTEM\celsetup.hlp @Option 1010
@F X31KHZ.CRT @O @OutDrive:\@SubDir\*.* @Option 1020
@F X35KHZ.CRT @O @OutDrive:\@SubDir\*.* @Option 1020
@F X48KHZ.CRT @O @OutDrive:\@SubDir\*.* @Option 1020
@F X56KHZ.CRT @O @OutDrive:\@SubDir\*.* @Option 1020
@F X64KHZ.CRT @O @OutDrive:\@SubDir\*.* @Option 1020
@F Xcel1.CRT @O @OutDrive:\@SubDir\*.* @Option 1020
@F CELSET1.HLP @O @OutDrive:\@SubDir\celsetup.hlp @Option 1020
@ElseIf (@Spawn ("@StartupDrive:\\dacchk.exe") == 1) /* SIERRA DAC 110MHz */
@F X31KHZ.CRT @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F X35KHZ.CRT @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F X48KHZ.CRT @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F X56KHZ.CRT @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F X64KHZ.CRT @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F xcel1.CRT @O @OutDrive:\@SubDir\SYSTEM\*.* @Option 1010
@F CELSET1.HLP @O @OutDrive:\@SubDir\SYSTEM\celsetup.hlp @Option 1010
@F X